package com.zjl.spring.domain;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Auther: zhuangjl
 * @Date: 2021/12/23 15:32
 */
public class Apple implements Fruit {

    @Autowired
    private Price price;

    @Override
    public void print() {
        System.out.println("苹果");
    }
}
